﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CastleOfTheDisillusioned.Location.Maps.Prison {
	class Stairway : Cell {
		public Stairway() {
			this.X = 0;
			this.Y = 0;
			this.Width = CellWidth;
			this.Height = CellHeight * 2;

			this.AddTileOutline(X, Y, (int)Width, (int)Height);

			//Four Exits
			this.AddLeftNode(0, CellHeight - 3);
			this.AddRightNode(Width - 1, CellHeight - 3);

			this.AddLeftNode(0, Height - 3);
			this.AddRightNode(Width - 1, Height - 3);

			//Top Platforms
			this.AddTileRow(1, CellHeight - 1, CellWidth / 4);
			this.AddTileRow(Width - (CellHeight / 4) - 3, CellHeight - 1, CellWidth / 4);

			//Middle Platform
			this.AddTileRow(5, CellHeight * 1.5, 10);
		}
	}
}
